package router

import (
	"github.com/julienschmidt/httprouter"
	"video/api/handlers"
)

var BeUrl=Routers{}

func SetUrl()  *httprouter.Router  {
	getUrl()
   return BeUrl.RegisterHandle()
}

func getUrl()  {
  BeUrl.AddRoute("/user","POST",handlers.CreateUser)
  BeUrl.AddRoute("/user/:user_name","POST",handlers.Login)



}